package no.gnet.edvd.cron.types;

import no.gnet.edvd.types.Bet;
import no.gnet.edvd.types.Player;

public class DoneBet {
	Bet bet;

    double amount;

    double handled;

    public Player owner;

    public DoneBet(Bet bet) {

          super();

          this.amount = bet.amount;

          this.owner=bet.player;
          this.bet=bet;

    }

   

    public double getAmount() {

          return amount;

    }

    public void setAmount(double amount) {

          this.amount = amount;

    }

    public void handle(double am){

          handled+=am;

    }

    public double remaining(){

          return amount - handled;

    }



	public Bet getBet() {
		return bet;
	}

}


